import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import './plugins/vcharts'
import Echarts from 'echarts'
import VueECharts from 'vue-echarts'
import './style/index.css' //引入全局样式
Vue.config.productionTip = false
Vue.prototype.$echarts = Echarts  //将echarts加入原型上,这样写以后每个组件需要echarts时就不需要引入了，
                                  //直接 $echarts就可以实现
Vue.component('v-chart',VueECharts) //注册vue-charts组件
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
